package design.builder;

/**
 * 产品对象
 */
public class Phone {
    private String partScreen;
    private String partCell;
    private String partCpu;
    public void setPartScreen(String partScreen) {
        this.partScreen = partScreen;
    }
    public void setPartCell(String partCell) {
        this.partCell = partCell;
    }
    public void setPartCpu(String partCpu) {
        this.partCpu = partCpu;
    }
    public String show() {
        return "Product{" +
                "partScreen='" + partScreen + '\'' +
                ", partCell='" + partCell + '\'' +
                ", partCpu='" + partCpu + '\'' +
                '}';
    }
}